import { PLATFORM_Map } from "@/constant/index";
import topo from "@/assets/images/leftminsvg/topo.svg?component";
export default {
	path: '/topo-management/public',
	redirect: '/manage/topo-management/public',
	meta: {
		title: '组态管理',
		showLink: true,
		rank: 9,
		icon: topo,
		platform: [PLATFORM_Map.manage]
	},
	children: [
		{
			name: 'topo-public',
			path: '/manage/topo-management/public',
			component: () => import('@/views/manage/topo-management/public/index.vue'),
			meta: {
				title: '公共模板',
				roles: ['system.publicGraph']
			}
		},
		{
			name: 'topo-unity',
			path: '/manage/topo-management/unity',
			component: () => import('@/views/manage/topo-management/unity/index.vue'),
			meta: {
				title: '单位模板',
				roles: ['system.businessGraph']
			}
		}
	]
} satisfies RouteConfigsTable;
